package huangcd.javanet.analysis.util;

import java.io.PrintStream;

public class Utils
{
    public static PrintStream defaultPrintStream = System.out;

    public void log(String str)
    {
        defaultPrintStream.println(str);
    }

    public static PrintStream getDefaultPrintStream()
    {
        return defaultPrintStream;
    }

    public static void setDefaultPrintStream(PrintStream defaultPrintStream)
    {
        Utils.defaultPrintStream = defaultPrintStream;
    }
}
